The Role of the Base in Aspect Oriented Programming
نویسنده
چکیده
When should a concern be handled by aspect code or by base code? What is the difference between base code and aspect code? Sometimes it seems like there is no clear way to distinguish between what should be base code and what should be aspect code. Indeed, this has been cited as a weakness AOP compared to SOP. This note suggests that there is a clear difference between base and aspect, but that it is between basic concepts and aspect code. Both of those are crucial in both aspect-oriented programming and subjectoriented programming. The basic concepts are the common ground where different aspects or subjects (and concerns) meet. They, and the separation of responsibility among aspects, are the key design decisions in any multi-dimensional program
منابع مشابه
Dwarf Frankenstein is still in your memory: tiny code reuse attacks
Code reuse attacks such as return oriented programming and jump oriented programming are the most popular exploitation methods among attackers. A large number of practical and non-practical defenses are proposed that differ in their overhead, the source code requirement, detection rate and implementation dependencies. However, a usual aspect among these methods is consideration of the common be...
متن کاملXE (eXtreme Editor) - Tool Support for Evolution in Aspect-Oriented Programming
In spite of themodularizationbene!ts supportedby theAspect-Orientedprogrammingparadigm, di"erent usability issues have hindered its adoption.#e decoupling between aspect de!nitions and base code, and the compile-time weaving mechanism adopted by di"erent AOP languages, require developers to manage the consistency between base code and aspect code themselves.#ese mechanisms create opportunities ...
متن کاملAspect Weaving: Using the Base Language's Introspective Facilities to Determine Join Points
Aspect-oriented programming languages provide their own join point description language or mechanism for specifying join points during the execution of a program where additional code needs to be executed. However, until now such join point description languages are far from being mature and do not even match those examples which are considered to be typical for aspect-oriented programming. Asp...
متن کاملTowards a concurrent model of Event-based Aspect-Oriented Programming
The Event-based Aspect-Oriented Programming model (EAOP) makes it possible to define pointcuts in terms of sequences of events emitted by the base program. The current formalization of the model relies on a monolithic entity, the monitor, which observes the execution of the base program and executes the actions associated to the matching pointcut. This model is not intrinsically sequential but ...
متن کاملAn Aspect Weaver for Qualifiable Applications
Aspect Oriented Programming (AOP) offers means to automatically transform some existing base code to endow it with new properties. An aspect language allows the desired transformation to be specified and an aspect weaver reads the specification of the transformation expressed in the aspect language and applies it to the base code. AOP techniques allow systematic changes – insertion of synchroni...
متن کامل